gdkcairo: Don't require gtk_init() for set_source_pixbuf()
authorBenjamin Otte <otte@redhat.com>
Tue, 24 Sep 2013 14:37:37 +0000 (16:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 24 Sep 2013 14:42:48 +0000 (16:42 +0200)
commitb41787bc788d03aaf3dc3c734bc7e8161c1e713a
treec523af5aaf909e46d951d6ebfebcd750d670bae1
parent1959e36066908327aa8bfcb8112e31bed2986b5c
gdkcairo: Don't require gtk_init() for set_source_pixbuf()

Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
gdk/gdkcairo.c